package com.beamfield.dao.material;

import com.beamfield.model.IssueDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IssueDetailMapper {
    int deleteByPrimaryKey(Long issue_detail_id);

    int insert(IssueDetail record);

    int insertSelective(IssueDetail record);

    IssueDetail selectByPrimaryKey(Long issue_detail_id);

    int updateByPrimaryKeySelective(IssueDetail record);

    int updateByPrimaryKey(IssueDetail record);

    int insetList(List<IssueDetail> issueDetailList);

    List<IssueDetail> selectByIssueId(@Param("issueId")Long issueId);

    int deleteByIssueId(Long issueId);
}
